//
//  JaneRadioCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 张静. All rights reserved.
//

#import "JaneRadioCell.h"

@interface JaneRadioCell ()
@property (weak, nonatomic) IBOutlet UIImageView *RadioImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *unameLabel;
@property (weak, nonatomic) IBOutlet UILabel *uidLabel;


@property (weak, nonatomic) IBOutlet UILabel *descLabel;

@end
@implementation JaneRadioCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(JaneRadioModel *)model {
    if (_model != model) {
        _model = model;
    }
}
- (void)layoutSubviews {
    self.titleLabel.text = self.model.title;
    self.unameLabel.text = self.model.userinfo[@"uname"];
    self.descLabel.text = self.model.desc;
    [self.RadioImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.uidLabel.text = [NSString stringWithFormat:@"%@",self.model.userinfo[@"uid"]];
   
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
